/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.fd.client;

import java.util.Collection;
import java.util.List;

import com.xy.biz.fd.domain.req.documentAttachment.GetDocumentAttachmentRequest;
import com.xy.biz.fd.domain.req.documentAttachment.ListDocumentAttachmentRequest;
import com.xy.lang.domain.Page;
import com.xy.lang.domain.Result;
import com.xy.biz.fd.domain.resp.GetDocumentAttachmentResponse;

/**
 *
 *
 * @author wcs
 * @date 2021-2-19
 */
public interface DocumentAttachmentClient {

	/**
	 * 查找一个
	 *
	 * @param request
	 * @return
	 */
	Result<GetDocumentAttachmentResponse> getDocumentAttachment(GetDocumentAttachmentRequest request);

	/**
	 * 查找多个
	 *
	 * @param collection 标识集合
	 * @return
	 */
//	Result<List<GetDocumentAttachmentResponse>> listDocumentAttachmentById(Collection<Long> collection);

	/**
	 * 查找多个
	 *
	 * @param request 查找条件
	 * @return
	 */
//	Result<List<GetDocumentAttachmentResponse>> listDocumentAttachment(ListDocumentAttachmentRequest request);

	/**
	 * 统计个数
	 *
	 * @param request 查找条件
	 * @return
	 */
//	Result<Integer> countDocumentAttachment(ListDocumentAttachmentRequest request);

	/**
	 * 分页查找
	 *
	 * @param request 查找条件
	 * @return
	 */
//	Result<Page<GetDocumentAttachmentResponse>> pageDocumentAttachment(ListDocumentAttachmentRequest request);

}
